package com.wythe.mall.model;

import java.io.Serializable;
import java.util.List;

public class OrderBean implements Serializable {

    /**
     * id : 0
     * orderNo : 210112141803
     * pickNo : null
     * allCount : 0
     * amount : 280
     * totalAmount : 280
     * type : 1
     * status : 1
     * createTime : 2021-01-12T06:18:42.000+00:00
     * timeStamp : 1610432322
     * addressVo : null
     * settlementVo : null
     * itemVo : [{"count":14,"price":20,"goodsVo":{"id":0,"title":"猪肉","icon":"http://lz.img.hnlanzuo.com/2020-12-23/fac57c7bd8b4473389d2040fab546434.jpg","represent":null,"totalSales":0,"settlementVo":null,"skuVos":null},"skuVo":{"id":0,"title":"1斤","price":null,"stockCount":0,"saleCount":0}}]
     */

    private int id;
    private String orderNo;
    private int allCount;
    private double amount;
    private double totalAmount;
    private int type;
    private int status;
    private String createTime;
    private long timeStamp;
    private List<ItemVoBean> itemVo;
    private SettlementVoBean settlementVo;
    private AddressVoBean addressVo;

    public AddressVoBean getAddressVo() {
        return addressVo;
    }

    public void setAddressVo(AddressVoBean addressVo) {
        this.addressVo = addressVo;
    }

    public SettlementVoBean getSettlementVo() {
        return settlementVo;
    }

    public void setSettlementVo(SettlementVoBean settlementVo) {
        this.settlementVo = settlementVo;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public int getAllCount() {
        return allCount;
    }

    public void setAllCount(int allCount) {
        this.allCount = allCount;
    }

    public double getAmount() {
        return amount;
    }

    public void setAmount(double amount) {
        this.amount = amount;
    }

    public double getTotalAmount() {
        return totalAmount;
    }

    public void setTotalAmount(double totalAmount) {
        this.totalAmount = totalAmount;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public long getTimeStamp() {
        return timeStamp;
    }

    public void setTimeStamp(long timeStamp) {
        this.timeStamp = timeStamp;
    }

    public List<ItemVoBean> getItemVo() {
        return itemVo;
    }

    public void setItemVo(List<ItemVoBean> itemVo) {
        this.itemVo = itemVo;
    }

    public static class AddressVoBean implements Serializable{

        /**
         * address :
         * city :
         * districe :
         * id : 0
         * mobile :
         * name :
         * province :
         * status : 0
         * zip :
         */

        private String address;
        private String city;
        private String districe;
        private int id;
        private String mobile;
        private String name;
        private String province;
        private int status;
        private String zip;

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public String getCity() {
            return city;
        }

        public void setCity(String city) {
            this.city = city;
        }

        public String getDistrice() {
            return districe;
        }

        public void setDistrice(String districe) {
            this.districe = districe;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getMobile() {
            return mobile;
        }

        public void setMobile(String mobile) {
            this.mobile = mobile;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getProvince() {
            return province;
        }

        public void setProvince(String province) {
            this.province = province;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public String getZip() {
            return zip;
        }

        public void setZip(String zip) {
            this.zip = zip;
        }
    }

    public static class SettlementVoBean implements Serializable{

        /**
         * id : 0
         * title : 鞋店
         * lng : null
         * lat : null
         * distance : 0
         * servicePhone : 17674052725
         * imgLog : null
         * shopPhoto : null
         * countries : null
         * province : 湖南省
         * city : 长沙市
         * districe : 岳麓区
         * address : 新长海中心
         */

        private int id;
        private String title;
        private Object lng;
        private Object lat;
        private int distance;
        private String servicePhone;
        private Object imgLog;
        private Object shopPhoto;
        private Object countries;
        private String province;
        private String city;
        private String districe;
        private String address;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public Object getLng() {
            return lng;
        }

        public void setLng(Object lng) {
            this.lng = lng;
        }

        public Object getLat() {
            return lat;
        }

        public void setLat(Object lat) {
            this.lat = lat;
        }

        public int getDistance() {
            return distance;
        }

        public void setDistance(int distance) {
            this.distance = distance;
        }

        public String getServicePhone() {
            return servicePhone;
        }

        public void setServicePhone(String servicePhone) {
            this.servicePhone = servicePhone;
        }

        public Object getImgLog() {
            return imgLog;
        }

        public void setImgLog(Object imgLog) {
            this.imgLog = imgLog;
        }

        public Object getShopPhoto() {
            return shopPhoto;
        }

        public void setShopPhoto(Object shopPhoto) {
            this.shopPhoto = shopPhoto;
        }

        public Object getCountries() {
            return countries;
        }

        public void setCountries(Object countries) {
            this.countries = countries;
        }

        public String getProvince() {
            return province;
        }

        public void setProvince(String province) {
            this.province = province;
        }

        public String getCity() {
            return city;
        }

        public void setCity(String city) {
            this.city = city;
        }

        public String getDistrice() {
            return districe;
        }

        public void setDistrice(String districe) {
            this.districe = districe;
        }

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }
    }

    public static class ItemVoBean implements Serializable{
        /**
         * count : 14
         * price : 20
         * goodsVo : {"id":0,"title":"猪肉","icon":"http://lz.img.hnlanzuo.com/2020-12-23/fac57c7bd8b4473389d2040fab546434.jpg","represent":null,"totalSales":0,"settlementVo":null,"skuVos":null}
         * skuVo : {"id":0,"title":"1斤","price":null,"stockCount":0,"saleCount":0}
         */

        private int count;
        private double price;
        private GoodsVoBean goodsVo;
        private long id;

        public long getId() {
            return id;
        }

        public void setId(long id) {
            this.id = id;
        }

        private SkuVoBean skuVo;

        public int getCount() {
            return count;
        }

        public void setCount(int count) {
            this.count = count;
        }

        public double getPrice() {
            return price;
        }

        public void setPrice(double price) {
            this.price = price;
        }

        public GoodsVoBean getGoodsVo() {
            return goodsVo;
        }

        public void setGoodsVo(GoodsVoBean goodsVo) {
            this.goodsVo = goodsVo;
        }

        public SkuVoBean getSkuVo() {
            return skuVo;
        }

        public void setSkuVo(SkuVoBean skuVo) {
            this.skuVo = skuVo;
        }

        public static class GoodsVoBean implements Serializable{
            /**
             * id : 0
             * title : 猪肉
             * icon : http://lz.img.hnlanzuo.com/2020-12-23/fac57c7bd8b4473389d2040fab546434.jpg
             * represent : null
             * totalSales : 0
             * settlementVo : null
             * skuVos : null
             * settlementTitle: ""
             */

            private int id;
            private String title;
            private String icon;
            private int totalSales;
            private String settlementTitle;

            public String getSettlementTitle() {
                return settlementTitle;
            }

            public void setSettlementTitle(String settlementTitle) {
                this.settlementTitle = settlementTitle;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getIcon() {
                return icon;
            }

            public void setIcon(String icon) {
                this.icon = icon;
            }

            public int getTotalSales() {
                return totalSales;
            }

            public void setTotalSales(int totalSales) {
                this.totalSales = totalSales;
            }

        }

        public static class SkuVoBean implements Serializable{
            /**
             * id : 0
             * title : 1斤
             * price : null
             * stockCount : 0
             * saleCount : 0
             */

            private int id;
            private String title;
            private int stockCount;
            private String img;

            public String getImg() {
                return img;
            }

            public void setImg(String img) {
                this.img = img;
            }

            private int saleCount;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public int getStockCount() {
                return stockCount;
            }

            public void setStockCount(int stockCount) {
                this.stockCount = stockCount;
            }

            public int getSaleCount() {
                return saleCount;
            }

            public void setSaleCount(int saleCount) {
                this.saleCount = saleCount;
            }
        }
    }
}
